<?php
/**
 * Created by PhpStorm.
 * User: 陈鸿
 * Date: 2016/5/19
 * Time: 14:55
 */
use wxOpen\WeiXin;
function __autoload($class){
    include dirname(dirname(__FILE__)) . '/' . str_replace('\\','/',$class) . '.php';
}
//WeiXin::getCode();

$result = WeiXin::getAccessToken();
var_dump($result);